package org.easybuy.dao;

import java.util.List;

import org.easybuy.entity.CommodityCategory;

public interface CommodityCategoryDao {
	// 查询所有一级标题
	public List<CommodityCategory> getAllFirstcCategories();

	// 根据一级标题查询二级标题
	public List<CommodityCategory> getAllSecondCategories(int parentId);

	// 根据一级标题查询三级标题
	public List<CommodityCategory> getAllthreatCategories(int parentId);

}
